package org.langqiao.thread;

public class ThreadYieldTest extends Thread{
	public static void main(String[] args) {
		for(int i=1;i<=2;i++){
			new ThreadYieldTest().start();
		}
	}
	
	public void run(){
		System.out.print("1");
		yield();
		System.out.print("2");
	}
}
